package com.suse.warmstill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author 黄靖
 * @since 2022-11-05
 */
@Getter
@Setter
@TableName("tb_userinfo")
@ApiModel(value = "TbUserinfo对象", description = "")
public class TbUserinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userId;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("性别,0是男，1是女")
    private Integer sex;

    private String photoPath;

    private String birth;
    /*、
     * 0，学生
     * 1，医生
     * 2，朋辈
     * */
    private int dep;


}
